package com.cloud.feign.resp;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

@ApiModel("商品项")
@Data
@Accessors(chain = true)
public class GoodsSubVo {
    @JsonIgnore
    private String id;
    @ApiModelProperty("商品项名")
    private String name;
    @ApiModelProperty("类型:1:图片,2:视频,3:附件,4:文本,5:有子节点")
    private Integer type;
    @ApiModelProperty("商品项值")
    private String value;
    @ApiModelProperty("子项")
    private List<GoodsSubVo> children;

}
